package com.xt.purchasingsystem.controller.productionManagement;

import com.xt.purchasingsystem.dto.ProductionprocessesDto;
import com.xt.purchasingsystem.service.productionManagementService.ProductionprocessesService;
import com.xt.purchasingsystem.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


/**
 * 产品生产工序管理的接口
 * Author: 老姚
 * Date:  2020/3/16 20:33
 */
@RestController
@RequestMapping(value = "/productionProcesses")
public class ProductionprocessesController {
    @Autowired
private ProductionprocessesService productionprocessesService;
    @PostMapping("/queryProductionprocessesByPaging")
    private Result queryProductionprocessesByPaging(@RequestBody ProductionprocessesDto productionprocessesDto){
        return productionprocessesService.queryProductionprocessesByPaging(productionprocessesDto);
    }
}
